package com.vegetable.modules.entity.allocation.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 扣款统计VO
 * </p>
 *
 * @author Qoder
 * @since 2025-10-08
 */
@Data
@ApiModel(value="DeductionStatisticsVO对象", description="扣款统计VO")
public class DeductionStatisticsVO {

    @ApiModelProperty("明细id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "销售出库单ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long salesOutId;

    @ApiModelProperty(value = "销售出库单号")
    private String salesOutDocNo;

    @ApiModelProperty(value = "客户ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long customerId;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "扣款总金额")
    private BigDecimal totalDeductionAmount;

    @ApiModelProperty(value = "扣款次数")
    private Integer deductionCount;

    @ApiModelProperty(value = "扣款原因")
    private String deductionReason;

    @ApiModelProperty(value = "处理状态 0未处理，1已处理")
    private Integer handleStatus;

    @ApiModelProperty(value = "处理状态 0未处理，1已处理")
    private String handleOpinion;
}